package com.nuoniu.sibanyun.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * @ClassName CrmActivityDto
 * @Description TODO
 * @Authpr baiqiang
 * @Date 2020/8/15 18:18
 **/
@Data
@ApiModel("市场活动保存DTO")
public class CrmActivityDto extends BaseEntity {

    @ApiModelProperty(value = "活动负责人Id （必填）")
    @TableField("activity_owner_id")
    private Integer activityOwnerId;

    @ApiModelProperty(value = "活动负责人姓名 （必填）")
    @TableField("activity_owner_name")
    private String activityOwnerName;

    @ApiModelProperty(value = "市场活动名称（必填）")
    @TableField("activity_title")
    private String activityTitle;

    @ApiModelProperty(value = "类型（必填）：会议 网络研讨会 交易会 公开媒介 合作伙伴 推举程序 广告 条幅广告 直接邮件 电子邮件 电子市场 其它 ")
    @TableField("activity_type")
    private String activityType;

    @ApiModelProperty(value = "状态（必填）：计划中 激活的 非活跃 完成")
    @TableField("activity_state")
    private String activityState;

    @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    @TableField("end_time")
    private String endTime;

    @ApiModelProperty(value = "预期收益")
    @TableField("anticipated_revenue")
    private BigDecimal anticipatedRevenue;

    @ApiModelProperty(value = "预算成本（元）")
    @TableField("budget_cost")
    private BigDecimal budgetCost;

    @ApiModelProperty(value = "实际成本（元）")
    @TableField("actual_cost")
    private BigDecimal actualCost;

    @ApiModelProperty(value = "期望成功率（%）")
    @TableField("expected_success_rate")
    private BigDecimal expectedSuccessRate;

    @ApiModelProperty("新增的商机Ids")
    private List<Integer> addBusinessIds;
    @ApiModelProperty("删除的商机Ids")
    private List<Integer> deleteBusinessIds;
}
